<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<h2>欢迎，<span th:text="${user.nickname}"></span>！</h2>
<p>用户名：<span th:text="${user.username}"></span></p>
<p>邮箱：<span th:text="${user.email}"></span></p>
<p>角色：<span th:text="${user.role}"></span></p>
<!-- 添加链接 -->
<h3>管理功能</h3>
<ul>
    <li><a href="/api/admin/user/list/page">查看所有用户</a></li>
    <li><a href="/api/admin/reset-password">重置用户密码</a></li>
</ul>
<a href="/logout">退出登录</a>
</body>
</html>
